using System;

namespace WindowsPhoneMVC.Navigation
{
    public class NavigationParameter
    {
        /// <summary>
        /// Used for serialisation
        /// </summary>
        public NavigationParameter()
        {
        }

        public NavigationParameter(object value)
            : this(null, value)
        { }

        public NavigationParameter(string name, object value)
        {
            Name = name;
            Value = value;
        }

        public string Name { get; set; }

        public object Value { get; set; }
    }
}